package com.jiyun;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @Title: Day01Application
 * @Author 杜瑞
 * @Date 2023/8/22 11:01
 */
@SpringBootApplication
@EnableFeignClients(basePackages = "com.jiyun.feign")
@EnableDiscoveryClient
@MapperScan("com.jiyun.mapper")
@EnableAutoConfiguration(exclude = {DataSourceAutoConfiguration.class})
public class Day01Application {
    public static void main(String[] args) {
        SpringApplication.run(Day01Application.class, args);
    }
}
